from rest_framework.pagination import PageNumberPagination
from rest_framework.response import Response


class PageNum(PageNumberPagination):
    page_size =5# 后端指定每页显示数量
    page_size_query_param = "pagesize"
    max_page_size = 10

